package com.gowants.pems.mapper;

import com.gowants.pems.model.EquipmentScrap;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EquipmentScrapMapper {

    public List<EquipmentScrap> select(@Param("record") EquipmentScrap record);
    public List<EquipmentScrap> selectNew(EquipmentScrap record);

    public EquipmentScrap selectById(String id);

    public int insert(EquipmentScrap record);

    public int update(@Param("record") EquipmentScrap record);
}
